//==============================================================================
// Temple_anim.txt
//==============================================================================

import Construction_defines_anim.txt
import Civ_statue_defines_anim.txt

//==============================================================================
define empower
{
   SetSelector
   {
      EmpowerLogic
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualnone Jimmy
            }
         }
      }
      SetSelector
      {
         set hotspot
         {
            version
            {
               Visualparticle SFX E Pharaoh Empower Large
            }
         }
      }
   }
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}
//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define VINEB
{
   set hotspot
   {
      version
      {
         Visual Building VineB
      }
   }  
}

//==============================================================================
define CypressA
{
   set hotspot
   {
      version
      {
         visual terrain g cypressA
      }
   }
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         visual terrain g cypressB
      }
   }
}


//==============================================================================
define Bush
{
   set hotspot
   {
      version
      {
         Visual World A Bush Short F
      }
   }  
}

//==============================================================================
anim idle
{
//---------------------------------Egyptian---------------------------------------//
       //---------------------------Age 2--------------------------------//   
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta E Temple
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
      }
     //---------------------------Age 3--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta E Temple
replacetexture building beta e town center floor/building beta e town center floor Age3-4
replacetexture building e age2 accessories/Building Beta E Temple Flags Age3
replacetexture building e age2/building e age3
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
      }
   //---------------------------Age 4--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta E Temple
replacetexture building beta e town center floor/building beta e town center floor Age3-4
replacetexture building e age2 accessories/Building Beta E Temple Flags Age4
replacetexture building e age2/building e age4
				connect ATTACHPOINT empower hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}

//==============================================================================
anim Death
{
//---------------------------------Egyptian---------------------------------------//
       //---------------------------Age 2--------------------------------//   
   SetSelector
   {
      TechLogic age 2/age 3/age 4
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta E Temple_death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
      }
     //---------------------------Age 3--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta E Temple_death
replacetexture building beta e town center floor/building beta e town center floor Age3-4
replacetexture building e age2 accessories/Building Beta E Temple Flags Age3
replacetexture building e age2/building e age3
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
      }
   //---------------------------Age 4--------------------------------//
      setSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
				Visual Building Beta E Temple_death
replacetexture building beta e town center floor/building beta e town center floor Age3-4
replacetexture building e age2 accessories/Building Beta E Temple Flags Age4
replacetexture building e age2/building e age4
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
					connect Smoke2 Dust hotspot
					connect Smoke3 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium A
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
				Visual Building Construction Medium B
				connect ATTACHPOINT empower hotspot
				connect attachpoint E_Long_Brick hotspot
				connect face E_Long_Brick hotspot
				connect chin E_Medium_Brick hotspot
				connect leftfoot E_Medium_Brick hotspot
				connect lefthand E_Small_Brick hotspot
				connect leftleg E_Small_Brick hotspot
            }
         }
      }
   }
}




